home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / tweak16b.zip / MAKEFILE < prev    next >
Text File  |  1993-11-22  |  1KB  |  51 lines

  1. # This is a Borland-specific Makefile.  It may or may not work with
  2. # other makes.  Please mail me your changes to make it more portable.
  3.  
  4. .autodepend
  5.  
  6. CC = bcc -ml -v -y -O -O2
  7.  
  8. all: tweak utilities examples oldtweak
  9. tweak: tweak.exe
  10. oldtweak: tweak095.exe
  11. examples: example1.exe example2.exe
  12. utilities: tweak2c.exe 09to10.exe
  13.  
  14. tweak.exe: tweak.obj register.obj namedreg.obj regtable.obj screen.obj \
  15.         testpat.obj vgalib.obj regedit.obj detect.obj
  16.         $(CC) tweak.obj register.obj namedreg.obj regtable.obj screen.obj \
  17.                 testpat.obj vgalib.obj regedit.obj detect.obj
  18.  
  19. 09to10.exe: 09to10.obj register.obj
  20.         $(CC) 09to10.obj register.obj
  21.  
  22. example1.exe: example1.obj twkuser.obj
  23.         $(CC) example1.obj twkuser.obj
  24.  
  25. example2.exe: example2.obj twkuser.obj tweak2c.exe 320x240.c
  26.         $(CC) example2.obj twkuser.obj
  27.  
  28. tweak2c.exe: tweak2c.obj twkuser.obj
  29.         $(CC) tweak2c.obj twkuser.obj
  30.  
  31. 320x240.c: tweak2c.exe 320x240.256
  32.         tweak2c 320x240.256 320x240.c Mode320x240
  33.  
  34. .256.c:
  35.         tweak2c $< $*.c Mode$*
  36.  
  37. .16.c:
  38.         tweak2c $< $*.c Mode$*
  39.  
  40. .twk.c:
  41.         tweak2c $< $*.c Mode$*
  42.  
  43. .c.obj:
  44.         $(CC) -c {$< }
  45.  
  46. .cpp.obj:
  47.         $(CC) -c {$< }
  48.  
  49. .obj.exe:
  50.         $(CC) $<
  51.